﻿<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>会员</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/css/common.css}" rel="stylesheet">


</head>
<body>
<div class="container" style="background:white">
    <div th:replace="~{commons/common::header}"></div>
    <div class="row">
        <div class="col-md-3">
            <img th:src="@{/imgs/yutian.jpg}" class="img-responsive img-thumbnail"
                 alt="Responsive image"/>
        </div>
        <div class="col-md-9 col-sm-12">
            <h2 class="reg-h2">注册会员</h2>
            <!--表单-->
            <form class="form-horizontal" id="regForm" method="post" th:action="@{/index/reg}">
                <div class="form-group">
                    <label class="col-sm-2 control-label"><font color="red">* </font>昵称</label>
                    <div class="col-sm-8">
                        <input type="text" id="userNickname" name="userNickname" class="form-control reg-input"  placeholder="请输入昵称" autocomplete="off" >
                        <font color="red"></font>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><font color="red">* </font>用户名</label>
                    <div class="col-sm-8">
                        <input type="text" id="userLoginname" name="userLoginname" class="form-control reg-input"  placeholder="请输入用户名" autocomplete="off">
                        <font color="red"></font>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><font color="red">* </font>密码</label>
                    <div class="col-sm-8">
                        <input type="password" id="userPassword" name="userPassword" class="form-control reg-input"  placeholder="请输入密码" autocomplete="off">
                        <font color="red"></font>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><font color="red">* </font>确认密码</label>
                    <div class="col-sm-8">
                        <input type="password" id="reuserPassword" name="reuserPassword" class="form-control reg-input"  placeholder="请再次输入密码" autocomplete="off">
                        <font color="red"></font>
                    </div>
                </div>
<!--                <div class="form-group">
                    <label class="col-sm-2 control-label">头像</label>
                    <div class="col-sm-8">
                        <input type="text" id="userImage" name="userImage" class="form-control"  placeholder="请输入头像网址">
                    </div>
                </div>-->
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-2">
                        <button type="button" id="regButton" class="btn btn-primary btn-lg btn-block">注册</button>
                    </div>
                    <div class=" col-sm-2">
                        <button type="button" id="backButton" class="btn btn-default btn-lg btn-block">返回</button>
                    </div>
                </div>
            </form>

            <!--END表单-->
        </div>
    </div>
    <div th:replace="~{commons/common::footer}"></div>
</div>

<script th:src="@{/js/jquery-1.11.0.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/common.js}"></script>
<script th:src="@{/js/user/useradd.js}"></script>

</body>
</html>







